Tutorial > Programming AC Output > AC Voltage and Frequency

Resetting the Instrument | Programming AC Output
Programming DC Output | Triggering Output Changes | Output-on Phase Control
Measurement | Status Monitoring | Error Checking

Programming AC Output

AC Voltage and Frequency | Current Limit

AC Voltage and Frequency

- Setting the AC voltage and frequency

The AC output voltage and frequency are controlled with the VOLTage and FREQuency commands. Prior to programming the output, it is recommended that the appropriate output mode and voltage range be selected.

 

:OUTPut:COUPling AC   'Selects AC mode
:VOLTage:RANGe 135   'Selects the 135 V range
:VOLTage 110   'Sets 110 V
:FREQuency 55   'Sets 55 Hz
:OUTPut ON   'Turns the output on

Once the power supply output is enabled (turned on), output mode and voltage range settings cannot be changed. These commands operate only when the output is off. On the other hand, AC voltage and frequency settings can always be changed while the output is on.

- Setting the AC voltage limit and frequency limit

The minimum and maximum allowable values for VOLTage and FREQuency commands may vary depending on the VOLTage:LIMit and FREQuency:LIMit settings.

The maximum allowable value for VOLTage also varies depending on the VOLTage:RANGe setting.

The VOLTage and FREQuency settings must be specified within the upper and lower limits.

The voltage limit and frequency limit settings are safety interlock functions that prevent unexpected miss-operation or miss-programming. They are not output limiting functions.

 

:VOLTage:RANGe 135   'Selects the 135 V range
:VOLTage:LIMit:UPPer MAX   'Sets upper limit to physical max 275 V
:VOLTage:LIMit:LOWer MIN   'Sets lower limit to physical min 0 V
:VOLTage 110   'Sets 110 V
:FREQuency:LIMit:UPPer MAX   'Sets upper limit to physical max 500 Hz
:FREQuency:LIMit:LOWer MIN   'Sets lower limit to physical min 40 Hz
:FREQuency 55   'Sets 55 Hz

Above example expands the upper/lower limits to the widest span allowing the VOLTage and FREQuency to be set to any value within the given range.

When the VOLTage:RANGe is set to 135 V, VOLTage setting cannot exceed 137.5 V.

- Query

To query the maximum and minimum allowed values for the VOLTage and FREQuency commands, use the query with the MINimum and/or MAXimum parameters.

 

:VOLTage? MINimum

:VOLTage? MAXimum

:FREQuency? MINimum

:FREQuency? MAXimum